package com.wwe.kotlinstudy.example19

class Outer {
    private val bar: Int = 1

    //嵌套类
    class Nested {
        fun foo() = 2
    }
}

//val demo = Outer.Nested().foo() // == 2